|
Eclipse Platform Pre-release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ui.actions.ActionGroup
org.eclipse.team.ui.synchronize.actions.DirectionFilterActionGroup
This ActionGroup provides filtering of a sync set by change direction. The actions are presented to the user as toolbar buttons where only one button is active at a time.
When a modes changes a property change event is fired from the participant
with a value of TeamSubscriberParticipant.P_SYNCVIEWPAGE_MODE
.
TeamSubscriberParticipant
Constructor Summary | |
DirectionFilterActionGroup(TeamSubscriberParticipant participant,
int supportedModes)
Creates a direction filter group with the given supported modes. |
Method Summary | |
void |
dispose()
This method is called by the user of an action group to signal that the group is no longer needed. |
void |
fillActionBars(IActionBars actionBars,
String group)
|
void |
fillToolBar(IToolBarManager toolBar)
|
void |
propertyChange(PropertyChangeEvent event)
Notification that a property has changed. |
Methods inherited from class org.eclipse.ui.actions.ActionGroup |
fillActionBars, fillContextMenu, getContext, setContext, updateActionBars |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DirectionFilterActionGroup(TeamSubscriberParticipant participant, int supportedModes)
TeamSubscriberParticipant
class.
participant
- the participant showing this groupsupportedModes
- the modes to be shownTeamSubscriberParticipant.BOTH_MODE
,
TeamSubscriberParticipant.OUTGOING_MODE
,
TeamSubscriberParticipant.INCOMING_MODE
,
TeamSubscriberParticipant.CONFLICTING_MODE
,
TeamSubscriberParticipant.ALL_MODES
Method Detail |
public void fillActionBars(IActionBars actionBars, String group)
public void fillToolBar(IToolBarManager toolBar)
public void propertyChange(PropertyChangeEvent event)
IPropertyChangeListener
This method gets called when the observed object fires a property change event.
propertyChange
in interface IPropertyChangeListener
event
- the property change event object describing which property
changed and howpublic void dispose()
ActionGroup
The default implementation calls setContext(null)
.
Subclasses may extend this method.
dispose
in class ActionGroup
|
Eclipse Platform Pre-release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |